package com.cn.mmd.model;

import java.util.ArrayList;
import java.util.List;

public class CourseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CourseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCourseidIsNull() {
            addCriterion("courseId is null");
            return (Criteria) this;
        }

        public Criteria andCourseidIsNotNull() {
            addCriterion("courseId is not null");
            return (Criteria) this;
        }

        public Criteria andCourseidEqualTo(String value) {
            addCriterion("courseId =", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidNotEqualTo(String value) {
            addCriterion("courseId <>", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidGreaterThan(String value) {
            addCriterion("courseId >", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidGreaterThanOrEqualTo(String value) {
            addCriterion("courseId >=", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidLessThan(String value) {
            addCriterion("courseId <", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidLessThanOrEqualTo(String value) {
            addCriterion("courseId <=", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidLike(String value) {
            addCriterion("courseId like", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidNotLike(String value) {
            addCriterion("courseId not like", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidIn(List<String> values) {
            addCriterion("courseId in", values, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidNotIn(List<String> values) {
            addCriterion("courseId not in", values, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidBetween(String value1, String value2) {
            addCriterion("courseId between", value1, value2, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidNotBetween(String value1, String value2) {
            addCriterion("courseId not between", value1, value2, "courseid");
            return (Criteria) this;
        }

        public Criteria andCoursenameIsNull() {
            addCriterion("courseName is null");
            return (Criteria) this;
        }

        public Criteria andCoursenameIsNotNull() {
            addCriterion("courseName is not null");
            return (Criteria) this;
        }

        public Criteria andCoursenameEqualTo(String value) {
            addCriterion("courseName =", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameNotEqualTo(String value) {
            addCriterion("courseName <>", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameGreaterThan(String value) {
            addCriterion("courseName >", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameGreaterThanOrEqualTo(String value) {
            addCriterion("courseName >=", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameLessThan(String value) {
            addCriterion("courseName <", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameLessThanOrEqualTo(String value) {
            addCriterion("courseName <=", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameLike(String value) {
            addCriterion("courseName like", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameNotLike(String value) {
            addCriterion("courseName not like", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameIn(List<String> values) {
            addCriterion("courseName in", values, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameNotIn(List<String> values) {
            addCriterion("courseName not in", values, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameBetween(String value1, String value2) {
            addCriterion("courseName between", value1, value2, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameNotBetween(String value1, String value2) {
            addCriterion("courseName not between", value1, value2, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursebeginendIsNull() {
            addCriterion("courseBeginEnd is null");
            return (Criteria) this;
        }

        public Criteria andCoursebeginendIsNotNull() {
            addCriterion("courseBeginEnd is not null");
            return (Criteria) this;
        }

        public Criteria andCoursebeginendEqualTo(String value) {
            addCriterion("courseBeginEnd =", value, "coursebeginend");
            return (Criteria) this;
        }

        public Criteria andCoursebeginendNotEqualTo(String value) {
            addCriterion("courseBeginEnd <>", value, "coursebeginend");
            return (Criteria) this;
        }

        public Criteria andCoursebeginendGreaterThan(String value) {
            addCriterion("courseBeginEnd >", value, "coursebeginend");
            return (Criteria) this;
        }

        public Criteria andCoursebeginendGreaterThanOrEqualTo(String value) {
            addCriterion("courseBeginEnd >=", value, "coursebeginend");
            return (Criteria) this;
        }

        public Criteria andCoursebeginendLessThan(String value) {
            addCriterion("courseBeginEnd <", value, "coursebeginend");
            return (Criteria) this;
        }

        public Criteria andCoursebeginendLessThanOrEqualTo(String value) {
            addCriterion("courseBeginEnd <=", value, "coursebeginend");
            return (Criteria) this;
        }

        public Criteria andCoursebeginendLike(String value) {
            addCriterion("courseBeginEnd like", value, "coursebeginend");
            return (Criteria) this;
        }

        public Criteria andCoursebeginendNotLike(String value) {
            addCriterion("courseBeginEnd not like", value, "coursebeginend");
            return (Criteria) this;
        }

        public Criteria andCoursebeginendIn(List<String> values) {
            addCriterion("courseBeginEnd in", values, "coursebeginend");
            return (Criteria) this;
        }

        public Criteria andCoursebeginendNotIn(List<String> values) {
            addCriterion("courseBeginEnd not in", values, "coursebeginend");
            return (Criteria) this;
        }

        public Criteria andCoursebeginendBetween(String value1, String value2) {
            addCriterion("courseBeginEnd between", value1, value2, "coursebeginend");
            return (Criteria) this;
        }

        public Criteria andCoursebeginendNotBetween(String value1, String value2) {
            addCriterion("courseBeginEnd not between", value1, value2, "coursebeginend");
            return (Criteria) this;
        }

        public Criteria andCoursecreditIsNull() {
            addCriterion("courseCredit is null");
            return (Criteria) this;
        }

        public Criteria andCoursecreditIsNotNull() {
            addCriterion("courseCredit is not null");
            return (Criteria) this;
        }

        public Criteria andCoursecreditEqualTo(Float value) {
            addCriterion("courseCredit =", value, "coursecredit");
            return (Criteria) this;
        }

        public Criteria andCoursecreditNotEqualTo(Float value) {
            addCriterion("courseCredit <>", value, "coursecredit");
            return (Criteria) this;
        }

        public Criteria andCoursecreditGreaterThan(Float value) {
            addCriterion("courseCredit >", value, "coursecredit");
            return (Criteria) this;
        }

        public Criteria andCoursecreditGreaterThanOrEqualTo(Float value) {
            addCriterion("courseCredit >=", value, "coursecredit");
            return (Criteria) this;
        }

        public Criteria andCoursecreditLessThan(Float value) {
            addCriterion("courseCredit <", value, "coursecredit");
            return (Criteria) this;
        }

        public Criteria andCoursecreditLessThanOrEqualTo(Float value) {
            addCriterion("courseCredit <=", value, "coursecredit");
            return (Criteria) this;
        }

        public Criteria andCoursecreditIn(List<Float> values) {
            addCriterion("courseCredit in", values, "coursecredit");
            return (Criteria) this;
        }

        public Criteria andCoursecreditNotIn(List<Float> values) {
            addCriterion("courseCredit not in", values, "coursecredit");
            return (Criteria) this;
        }

        public Criteria andCoursecreditBetween(Float value1, Float value2) {
            addCriterion("courseCredit between", value1, value2, "coursecredit");
            return (Criteria) this;
        }

        public Criteria andCoursecreditNotBetween(Float value1, Float value2) {
            addCriterion("courseCredit not between", value1, value2, "coursecredit");
            return (Criteria) this;
        }

        public Criteria andCoursecollegeIsNull() {
            addCriterion("courseCollege is null");
            return (Criteria) this;
        }

        public Criteria andCoursecollegeIsNotNull() {
            addCriterion("courseCollege is not null");
            return (Criteria) this;
        }

        public Criteria andCoursecollegeEqualTo(String value) {
            addCriterion("courseCollege =", value, "coursecollege");
            return (Criteria) this;
        }

        public Criteria andCoursecollegeNotEqualTo(String value) {
            addCriterion("courseCollege <>", value, "coursecollege");
            return (Criteria) this;
        }

        public Criteria andCoursecollegeGreaterThan(String value) {
            addCriterion("courseCollege >", value, "coursecollege");
            return (Criteria) this;
        }

        public Criteria andCoursecollegeGreaterThanOrEqualTo(String value) {
            addCriterion("courseCollege >=", value, "coursecollege");
            return (Criteria) this;
        }

        public Criteria andCoursecollegeLessThan(String value) {
            addCriterion("courseCollege <", value, "coursecollege");
            return (Criteria) this;
        }

        public Criteria andCoursecollegeLessThanOrEqualTo(String value) {
            addCriterion("courseCollege <=", value, "coursecollege");
            return (Criteria) this;
        }

        public Criteria andCoursecollegeLike(String value) {
            addCriterion("courseCollege like", value, "coursecollege");
            return (Criteria) this;
        }

        public Criteria andCoursecollegeNotLike(String value) {
            addCriterion("courseCollege not like", value, "coursecollege");
            return (Criteria) this;
        }

        public Criteria andCoursecollegeIn(List<String> values) {
            addCriterion("courseCollege in", values, "coursecollege");
            return (Criteria) this;
        }

        public Criteria andCoursecollegeNotIn(List<String> values) {
            addCriterion("courseCollege not in", values, "coursecollege");
            return (Criteria) this;
        }

        public Criteria andCoursecollegeBetween(String value1, String value2) {
            addCriterion("courseCollege between", value1, value2, "coursecollege");
            return (Criteria) this;
        }

        public Criteria andCoursecollegeNotBetween(String value1, String value2) {
            addCriterion("courseCollege not between", value1, value2, "coursecollege");
            return (Criteria) this;
        }

        public Criteria andCourserequestIsNull() {
            addCriterion("courseRequest is null");
            return (Criteria) this;
        }

        public Criteria andCourserequestIsNotNull() {
            addCriterion("courseRequest is not null");
            return (Criteria) this;
        }

        public Criteria andCourserequestEqualTo(String value) {
            addCriterion("courseRequest =", value, "courserequest");
            return (Criteria) this;
        }

        public Criteria andCourserequestNotEqualTo(String value) {
            addCriterion("courseRequest <>", value, "courserequest");
            return (Criteria) this;
        }

        public Criteria andCourserequestGreaterThan(String value) {
            addCriterion("courseRequest >", value, "courserequest");
            return (Criteria) this;
        }

        public Criteria andCourserequestGreaterThanOrEqualTo(String value) {
            addCriterion("courseRequest >=", value, "courserequest");
            return (Criteria) this;
        }

        public Criteria andCourserequestLessThan(String value) {
            addCriterion("courseRequest <", value, "courserequest");
            return (Criteria) this;
        }

        public Criteria andCourserequestLessThanOrEqualTo(String value) {
            addCriterion("courseRequest <=", value, "courserequest");
            return (Criteria) this;
        }

        public Criteria andCourserequestLike(String value) {
            addCriterion("courseRequest like", value, "courserequest");
            return (Criteria) this;
        }

        public Criteria andCourserequestNotLike(String value) {
            addCriterion("courseRequest not like", value, "courserequest");
            return (Criteria) this;
        }

        public Criteria andCourserequestIn(List<String> values) {
            addCriterion("courseRequest in", values, "courserequest");
            return (Criteria) this;
        }

        public Criteria andCourserequestNotIn(List<String> values) {
            addCriterion("courseRequest not in", values, "courserequest");
            return (Criteria) this;
        }

        public Criteria andCourserequestBetween(String value1, String value2) {
            addCriterion("courseRequest between", value1, value2, "courserequest");
            return (Criteria) this;
        }

        public Criteria andCourserequestNotBetween(String value1, String value2) {
            addCriterion("courseRequest not between", value1, value2, "courserequest");
            return (Criteria) this;
        }

        public Criteria andCoursenatureIsNull() {
            addCriterion("courseNature is null");
            return (Criteria) this;
        }

        public Criteria andCoursenatureIsNotNull() {
            addCriterion("courseNature is not null");
            return (Criteria) this;
        }

        public Criteria andCoursenatureEqualTo(String value) {
            addCriterion("courseNature =", value, "coursenature");
            return (Criteria) this;
        }

        public Criteria andCoursenatureNotEqualTo(String value) {
            addCriterion("courseNature <>", value, "coursenature");
            return (Criteria) this;
        }

        public Criteria andCoursenatureGreaterThan(String value) {
            addCriterion("courseNature >", value, "coursenature");
            return (Criteria) this;
        }

        public Criteria andCoursenatureGreaterThanOrEqualTo(String value) {
            addCriterion("courseNature >=", value, "coursenature");
            return (Criteria) this;
        }

        public Criteria andCoursenatureLessThan(String value) {
            addCriterion("courseNature <", value, "coursenature");
            return (Criteria) this;
        }

        public Criteria andCoursenatureLessThanOrEqualTo(String value) {
            addCriterion("courseNature <=", value, "coursenature");
            return (Criteria) this;
        }

        public Criteria andCoursenatureLike(String value) {
            addCriterion("courseNature like", value, "coursenature");
            return (Criteria) this;
        }

        public Criteria andCoursenatureNotLike(String value) {
            addCriterion("courseNature not like", value, "coursenature");
            return (Criteria) this;
        }

        public Criteria andCoursenatureIn(List<String> values) {
            addCriterion("courseNature in", values, "coursenature");
            return (Criteria) this;
        }

        public Criteria andCoursenatureNotIn(List<String> values) {
            addCriterion("courseNature not in", values, "coursenature");
            return (Criteria) this;
        }

        public Criteria andCoursenatureBetween(String value1, String value2) {
            addCriterion("courseNature between", value1, value2, "coursenature");
            return (Criteria) this;
        }

        public Criteria andCoursenatureNotBetween(String value1, String value2) {
            addCriterion("courseNature not between", value1, value2, "coursenature");
            return (Criteria) this;
        }

        public Criteria andCourseteacherIsNull() {
            addCriterion("courseTeacher is null");
            return (Criteria) this;
        }

        public Criteria andCourseteacherIsNotNull() {
            addCriterion("courseTeacher is not null");
            return (Criteria) this;
        }

        public Criteria andCourseteacherEqualTo(String value) {
            addCriterion("courseTeacher =", value, "courseteacher");
            return (Criteria) this;
        }

        public Criteria andCourseteacherNotEqualTo(String value) {
            addCriterion("courseTeacher <>", value, "courseteacher");
            return (Criteria) this;
        }

        public Criteria andCourseteacherGreaterThan(String value) {
            addCriterion("courseTeacher >", value, "courseteacher");
            return (Criteria) this;
        }

        public Criteria andCourseteacherGreaterThanOrEqualTo(String value) {
            addCriterion("courseTeacher >=", value, "courseteacher");
            return (Criteria) this;
        }

        public Criteria andCourseteacherLessThan(String value) {
            addCriterion("courseTeacher <", value, "courseteacher");
            return (Criteria) this;
        }

        public Criteria andCourseteacherLessThanOrEqualTo(String value) {
            addCriterion("courseTeacher <=", value, "courseteacher");
            return (Criteria) this;
        }

        public Criteria andCourseteacherLike(String value) {
            addCriterion("courseTeacher like", value, "courseteacher");
            return (Criteria) this;
        }

        public Criteria andCourseteacherNotLike(String value) {
            addCriterion("courseTeacher not like", value, "courseteacher");
            return (Criteria) this;
        }

        public Criteria andCourseteacherIn(List<String> values) {
            addCriterion("courseTeacher in", values, "courseteacher");
            return (Criteria) this;
        }

        public Criteria andCourseteacherNotIn(List<String> values) {
            addCriterion("courseTeacher not in", values, "courseteacher");
            return (Criteria) this;
        }

        public Criteria andCourseteacherBetween(String value1, String value2) {
            addCriterion("courseTeacher between", value1, value2, "courseteacher");
            return (Criteria) this;
        }

        public Criteria andCourseteacherNotBetween(String value1, String value2) {
            addCriterion("courseTeacher not between", value1, value2, "courseteacher");
            return (Criteria) this;
        }

        public Criteria andCoursecollectIsNull() {
            addCriterion("courseCollect is null");
            return (Criteria) this;
        }

        public Criteria andCoursecollectIsNotNull() {
            addCriterion("courseCollect is not null");
            return (Criteria) this;
        }

        public Criteria andCoursecollectEqualTo(Integer value) {
            addCriterion("courseCollect =", value, "coursecollect");
            return (Criteria) this;
        }

        public Criteria andCoursecollectNotEqualTo(Integer value) {
            addCriterion("courseCollect <>", value, "coursecollect");
            return (Criteria) this;
        }

        public Criteria andCoursecollectGreaterThan(Integer value) {
            addCriterion("courseCollect >", value, "coursecollect");
            return (Criteria) this;
        }

        public Criteria andCoursecollectGreaterThanOrEqualTo(Integer value) {
            addCriterion("courseCollect >=", value, "coursecollect");
            return (Criteria) this;
        }

        public Criteria andCoursecollectLessThan(Integer value) {
            addCriterion("courseCollect <", value, "coursecollect");
            return (Criteria) this;
        }

        public Criteria andCoursecollectLessThanOrEqualTo(Integer value) {
            addCriterion("courseCollect <=", value, "coursecollect");
            return (Criteria) this;
        }

        public Criteria andCoursecollectIn(List<Integer> values) {
            addCriterion("courseCollect in", values, "coursecollect");
            return (Criteria) this;
        }

        public Criteria andCoursecollectNotIn(List<Integer> values) {
            addCriterion("courseCollect not in", values, "coursecollect");
            return (Criteria) this;
        }

        public Criteria andCoursecollectBetween(Integer value1, Integer value2) {
            addCriterion("courseCollect between", value1, value2, "coursecollect");
            return (Criteria) this;
        }

        public Criteria andCoursecollectNotBetween(Integer value1, Integer value2) {
            addCriterion("courseCollect not between", value1, value2, "coursecollect");
            return (Criteria) this;
        }

        public Criteria andCoursetimeIsNull() {
            addCriterion("courseTime is null");
            return (Criteria) this;
        }

        public Criteria andCoursetimeIsNotNull() {
            addCriterion("courseTime is not null");
            return (Criteria) this;
        }

        public Criteria andCoursetimeEqualTo(String value) {
            addCriterion("courseTime =", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeNotEqualTo(String value) {
            addCriterion("courseTime <>", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeGreaterThan(String value) {
            addCriterion("courseTime >", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeGreaterThanOrEqualTo(String value) {
            addCriterion("courseTime >=", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeLessThan(String value) {
            addCriterion("courseTime <", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeLessThanOrEqualTo(String value) {
            addCriterion("courseTime <=", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeLike(String value) {
            addCriterion("courseTime like", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeNotLike(String value) {
            addCriterion("courseTime not like", value, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeIn(List<String> values) {
            addCriterion("courseTime in", values, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeNotIn(List<String> values) {
            addCriterion("courseTime not in", values, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeBetween(String value1, String value2) {
            addCriterion("courseTime between", value1, value2, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCoursetimeNotBetween(String value1, String value2) {
            addCriterion("courseTime not between", value1, value2, "coursetime");
            return (Criteria) this;
        }

        public Criteria andCourseclasssIsNull() {
            addCriterion("courseClasss is null");
            return (Criteria) this;
        }

        public Criteria andCourseclasssIsNotNull() {
            addCriterion("courseClasss is not null");
            return (Criteria) this;
        }

        public Criteria andCourseclasssEqualTo(String value) {
            addCriterion("courseClasss =", value, "courseclasss");
            return (Criteria) this;
        }

        public Criteria andCourseclasssNotEqualTo(String value) {
            addCriterion("courseClasss <>", value, "courseclasss");
            return (Criteria) this;
        }

        public Criteria andCourseclasssGreaterThan(String value) {
            addCriterion("courseClasss >", value, "courseclasss");
            return (Criteria) this;
        }

        public Criteria andCourseclasssGreaterThanOrEqualTo(String value) {
            addCriterion("courseClasss >=", value, "courseclasss");
            return (Criteria) this;
        }

        public Criteria andCourseclasssLessThan(String value) {
            addCriterion("courseClasss <", value, "courseclasss");
            return (Criteria) this;
        }

        public Criteria andCourseclasssLessThanOrEqualTo(String value) {
            addCriterion("courseClasss <=", value, "courseclasss");
            return (Criteria) this;
        }

        public Criteria andCourseclasssLike(String value) {
            addCriterion("courseClasss like", value, "courseclasss");
            return (Criteria) this;
        }

        public Criteria andCourseclasssNotLike(String value) {
            addCriterion("courseClasss not like", value, "courseclasss");
            return (Criteria) this;
        }

        public Criteria andCourseclasssIn(List<String> values) {
            addCriterion("courseClasss in", values, "courseclasss");
            return (Criteria) this;
        }

        public Criteria andCourseclasssNotIn(List<String> values) {
            addCriterion("courseClasss not in", values, "courseclasss");
            return (Criteria) this;
        }

        public Criteria andCourseclasssBetween(String value1, String value2) {
            addCriterion("courseClasss between", value1, value2, "courseclasss");
            return (Criteria) this;
        }

        public Criteria andCourseclasssNotBetween(String value1, String value2) {
            addCriterion("courseClasss not between", value1, value2, "courseclasss");
            return (Criteria) this;
        }

        public Criteria andCoursecollegecIsNull() {
            addCriterion("courseCollegeC is null");
            return (Criteria) this;
        }

        public Criteria andCoursecollegecIsNotNull() {
            addCriterion("courseCollegeC is not null");
            return (Criteria) this;
        }

        public Criteria andCoursecollegecEqualTo(String value) {
            addCriterion("courseCollegeC =", value, "coursecollegec");
            return (Criteria) this;
        }

        public Criteria andCoursecollegecNotEqualTo(String value) {
            addCriterion("courseCollegeC <>", value, "coursecollegec");
            return (Criteria) this;
        }

        public Criteria andCoursecollegecGreaterThan(String value) {
            addCriterion("courseCollegeC >", value, "coursecollegec");
            return (Criteria) this;
        }

        public Criteria andCoursecollegecGreaterThanOrEqualTo(String value) {
            addCriterion("courseCollegeC >=", value, "coursecollegec");
            return (Criteria) this;
        }

        public Criteria andCoursecollegecLessThan(String value) {
            addCriterion("courseCollegeC <", value, "coursecollegec");
            return (Criteria) this;
        }

        public Criteria andCoursecollegecLessThanOrEqualTo(String value) {
            addCriterion("courseCollegeC <=", value, "coursecollegec");
            return (Criteria) this;
        }

        public Criteria andCoursecollegecLike(String value) {
            addCriterion("courseCollegeC like", value, "coursecollegec");
            return (Criteria) this;
        }

        public Criteria andCoursecollegecNotLike(String value) {
            addCriterion("courseCollegeC not like", value, "coursecollegec");
            return (Criteria) this;
        }

        public Criteria andCoursecollegecIn(List<String> values) {
            addCriterion("courseCollegeC in", values, "coursecollegec");
            return (Criteria) this;
        }

        public Criteria andCoursecollegecNotIn(List<String> values) {
            addCriterion("courseCollegeC not in", values, "coursecollegec");
            return (Criteria) this;
        }

        public Criteria andCoursecollegecBetween(String value1, String value2) {
            addCriterion("courseCollegeC between", value1, value2, "coursecollegec");
            return (Criteria) this;
        }

        public Criteria andCoursecollegecNotBetween(String value1, String value2) {
            addCriterion("courseCollegeC not between", value1, value2, "coursecollegec");
            return (Criteria) this;
        }

        public Criteria andCourseclassroomIsNull() {
            addCriterion("courseClassroom is null");
            return (Criteria) this;
        }

        public Criteria andCourseclassroomIsNotNull() {
            addCriterion("courseClassroom is not null");
            return (Criteria) this;
        }

        public Criteria andCourseclassroomEqualTo(String value) {
            addCriterion("courseClassroom =", value, "courseclassroom");
            return (Criteria) this;
        }

        public Criteria andCourseclassroomNotEqualTo(String value) {
            addCriterion("courseClassroom <>", value, "courseclassroom");
            return (Criteria) this;
        }

        public Criteria andCourseclassroomGreaterThan(String value) {
            addCriterion("courseClassroom >", value, "courseclassroom");
            return (Criteria) this;
        }

        public Criteria andCourseclassroomGreaterThanOrEqualTo(String value) {
            addCriterion("courseClassroom >=", value, "courseclassroom");
            return (Criteria) this;
        }

        public Criteria andCourseclassroomLessThan(String value) {
            addCriterion("courseClassroom <", value, "courseclassroom");
            return (Criteria) this;
        }

        public Criteria andCourseclassroomLessThanOrEqualTo(String value) {
            addCriterion("courseClassroom <=", value, "courseclassroom");
            return (Criteria) this;
        }

        public Criteria andCourseclassroomLike(String value) {
            addCriterion("courseClassroom like", value, "courseclassroom");
            return (Criteria) this;
        }

        public Criteria andCourseclassroomNotLike(String value) {
            addCriterion("courseClassroom not like", value, "courseclassroom");
            return (Criteria) this;
        }

        public Criteria andCourseclassroomIn(List<String> values) {
            addCriterion("courseClassroom in", values, "courseclassroom");
            return (Criteria) this;
        }

        public Criteria andCourseclassroomNotIn(List<String> values) {
            addCriterion("courseClassroom not in", values, "courseclassroom");
            return (Criteria) this;
        }

        public Criteria andCourseclassroomBetween(String value1, String value2) {
            addCriterion("courseClassroom between", value1, value2, "courseclassroom");
            return (Criteria) this;
        }

        public Criteria andCourseclassroomNotBetween(String value1, String value2) {
            addCriterion("courseClassroom not between", value1, value2, "courseclassroom");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}